@import "https://fonts.googleapis.com/css?family=Roboto:100,100italic,300,300italic,400,400italic,500,500italic,700,700italic,900,900italic&subset=latin,latin-ext,cyrillic,cyrillic-ext,greek-ext,greek,vietnamese";
@import "https://fonts.googleapis.com/css?family=Roboto+Condensed:300,300italic,400,400italic,700,700italic&subset=latin,latin-ext,cyrillic-ext,cyrillic,greek-ext,greek,vietnamese";
@import "https://fonts.googleapis.com/css?family=Roboto+Slab:400,100,300,700&subset=latin,latin-ext,greek-ext,greek,vietnamese,cyrillic,cyrillic-ext";

html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: "Roboto", sans-serif
}

body {
    display: grid;
    grid-template-areas:"header" "article" "footer";
    grid-template-rows:40px 1fr 50px;
    grid-template-columns:1fr;
    grid-row-gap: 10px;
    grid-column-gap: 10px;
    height: 100vh;
    margin: 0
}

footer, article {
    padding: 10px
}

header {
    padding: 5px
}

#pageHeader {
    grid-area: header;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-content: space-between;
    align-items: center
}

#pageFooter {
    grid-area: footer;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-content: space-between;
    align-items: flex-start;
    font-size: 90%
}

#mainArticle {
    grid-area: article;
    overflow: scroll
}

#output {
    padding: 20px;
    text-align: center
}

.dark-mode {
    background-color: #383838;
    color: #fff
}

.dark-mode a {
    color: #fff
}

nav.toolbar {
    padding: 5px;
    font-weight: 100
}

nav.toolbar ul {
    margin: 0;
    padding: 0;
    list-style-type: none
}

nav.toolbar ul li {
    display: inline
}

nav.toolbar ul li:last-child a:after {
    content: "";
    padding-left: 0;
    padding-right: 0
}

nav.toolbar ul a {
    text-decoration: none
}

nav.toolbar ul a:after {
    content: "|";
    padding-left: .5em;
    padding-right: .5em
}

#cols {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-content: space-between;
    align-items: flex-start
}

#cols #log {
    width: 50%
}

#cols img {
    width: 40%;
    border-radius: 5px;
    margin-right: 5px
}

#pageFooter {
    font-weight: 100
}

#pageFooter a {
    text-decoration: none
}

#pageFooter .published {
    font-size: 90%;
    color: gray
}
